\hypertarget{class_i_material}{\section{I\-Material Class Reference}
\label{class_i_material}\index{I\-Material@{I\-Material}}
}


Pale\-Gem's proprietary material representation.  




{\ttfamily \#include $<$I\-Material.\-h$>$}

Inheritance diagram for I\-Material\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_i_material}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{class_i_material_aacaf55688a44f04bc63b313a7a5c99c4}{$\sim$\-I\-Material} ()
\item 
virtual X\-M\-F\-L\-O\-A\-T3 \hyperlink{class_i_material_a3634f103101da7bd2be5f07a16041944}{Get\-Diffuse} ()=0
\begin{DoxyCompactList}\small\item\em Get the diffuse color of this material. \end{DoxyCompactList}\item 
virtual void \hyperlink{class_i_material_a5f9123914f2cb1df94c362651c3c0598}{Set\-Diffuse} (X\-M\-F\-L\-O\-A\-T3 v\-Diffuse)=0
\begin{DoxyCompactList}\small\item\em Set the diffuse color of this material. \end{DoxyCompactList}\item 
virtual unsigned int \hyperlink{class_i_material_a689ff8c90c826ba2f75935cc4d73e567}{Get\-Pixel\-Shader\-Index} ()=0
\item 
virtual unsigned int \hyperlink{class_i_material_a56e004c62a7207202cc2df51beb09ac8}{Get\-Vertex\-Shader\-Index} ()=0
\item 
virtual void \hyperlink{class_i_material_ae8bbd6ffc87fd2df0a85f78448e2ad36}{Set\-Pixel\-Shader\-Index} (unsigned int idx)=0
\item 
virtual void \hyperlink{class_i_material_ac116103c7a9ddd86284ff3fcd1b08341}{Set\-Vertex\-Shader\-Index} (unsigned int idx)=0
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Pale\-Gem's proprietary material representation. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_i_material_aacaf55688a44f04bc63b313a7a5c99c4}{\index{I\-Material@{I\-Material}!$\sim$\-I\-Material@{$\sim$\-I\-Material}}
\index{$\sim$\-I\-Material@{$\sim$\-I\-Material}!IMaterial@{I\-Material}}
\subsubsection[{$\sim$\-I\-Material}]{\setlength{\rightskip}{0pt plus 5cm}virtual I\-Material\-::$\sim$\-I\-Material (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_i_material_aacaf55688a44f04bc63b313a7a5c99c4}


\subsection{Member Function Documentation}
\hypertarget{class_i_material_a3634f103101da7bd2be5f07a16041944}{\index{I\-Material@{I\-Material}!Get\-Diffuse@{Get\-Diffuse}}
\index{Get\-Diffuse@{Get\-Diffuse}!IMaterial@{I\-Material}}
\subsubsection[{Get\-Diffuse}]{\setlength{\rightskip}{0pt plus 5cm}virtual X\-M\-F\-L\-O\-A\-T3 I\-Material\-::\-Get\-Diffuse (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_a3634f103101da7bd2be5f07a16041944}


Get the diffuse color of this material. 

\begin{DoxyReturn}{Returns}
Vector containing R\-G\-B channels 
\end{DoxyReturn}


Implemented in \hyperlink{classpg_material_a1930d225723ee9e18ae99155f3ff64c7}{pg\-Material}.

\hypertarget{class_i_material_a689ff8c90c826ba2f75935cc4d73e567}{\index{I\-Material@{I\-Material}!Get\-Pixel\-Shader\-Index@{Get\-Pixel\-Shader\-Index}}
\index{Get\-Pixel\-Shader\-Index@{Get\-Pixel\-Shader\-Index}!IMaterial@{I\-Material}}
\subsubsection[{Get\-Pixel\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}virtual unsigned int I\-Material\-::\-Get\-Pixel\-Shader\-Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_a689ff8c90c826ba2f75935cc4d73e567}


Implemented in \hyperlink{classpg_material_a52dd5da47afd5681d4c4088ae0aacfe5}{pg\-Material}.

\hypertarget{class_i_material_a56e004c62a7207202cc2df51beb09ac8}{\index{I\-Material@{I\-Material}!Get\-Vertex\-Shader\-Index@{Get\-Vertex\-Shader\-Index}}
\index{Get\-Vertex\-Shader\-Index@{Get\-Vertex\-Shader\-Index}!IMaterial@{I\-Material}}
\subsubsection[{Get\-Vertex\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}virtual unsigned int I\-Material\-::\-Get\-Vertex\-Shader\-Index (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_a56e004c62a7207202cc2df51beb09ac8}


Implemented in \hyperlink{classpg_material_a9383be68d0c57d7d170b3c50fcab6770}{pg\-Material}.

\hypertarget{class_i_material_a5f9123914f2cb1df94c362651c3c0598}{\index{I\-Material@{I\-Material}!Set\-Diffuse@{Set\-Diffuse}}
\index{Set\-Diffuse@{Set\-Diffuse}!IMaterial@{I\-Material}}
\subsubsection[{Set\-Diffuse}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Material\-::\-Set\-Diffuse (
\begin{DoxyParamCaption}
\item[{X\-M\-F\-L\-O\-A\-T3}]{v\-Diffuse}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_a5f9123914f2cb1df94c362651c3c0598}


Set the diffuse color of this material. 


\begin{DoxyParams}{Parameters}
{\em v\-Diffuse} & Vector containing R\-G\-B channels \\
\hline
\end{DoxyParams}


Implemented in \hyperlink{classpg_material_af2a938ce3d6378db111356b40bbdbda3}{pg\-Material}.

\hypertarget{class_i_material_ae8bbd6ffc87fd2df0a85f78448e2ad36}{\index{I\-Material@{I\-Material}!Set\-Pixel\-Shader\-Index@{Set\-Pixel\-Shader\-Index}}
\index{Set\-Pixel\-Shader\-Index@{Set\-Pixel\-Shader\-Index}!IMaterial@{I\-Material}}
\subsubsection[{Set\-Pixel\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Material\-::\-Set\-Pixel\-Shader\-Index (
\begin{DoxyParamCaption}
\item[{unsigned int}]{idx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_ae8bbd6ffc87fd2df0a85f78448e2ad36}


Implemented in \hyperlink{classpg_material_a54adffef4c9320a8c6248a7a52bb17ab}{pg\-Material}.

\hypertarget{class_i_material_ac116103c7a9ddd86284ff3fcd1b08341}{\index{I\-Material@{I\-Material}!Set\-Vertex\-Shader\-Index@{Set\-Vertex\-Shader\-Index}}
\index{Set\-Vertex\-Shader\-Index@{Set\-Vertex\-Shader\-Index}!IMaterial@{I\-Material}}
\subsubsection[{Set\-Vertex\-Shader\-Index}]{\setlength{\rightskip}{0pt plus 5cm}virtual void I\-Material\-::\-Set\-Vertex\-Shader\-Index (
\begin{DoxyParamCaption}
\item[{unsigned int}]{idx}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{class_i_material_ac116103c7a9ddd86284ff3fcd1b08341}


Implemented in \hyperlink{classpg_material_ab14e5195af1f397a5b88299bf06f5184}{pg\-Material}.



The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Inc/\hyperlink{_i_material_8h}{I\-Material.\-h}\end{DoxyCompactItemize}
